docs: add architecture diagram and overview#1095
Conversation
- Add mermaid diagram showing NemoClaw/OpenShell relationship - Explain what each layer provides (onboarding, blueprint, state, bridges) - Clarify that OpenShell is the runtime, NemoClaw is the opinionated stack
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@README.md`:
- Line 49: Replace the emoji labels in the Mermaid diagram nodes with plain
text: change the USER node label USER(["👤 User"]):::user to
USER(["User"]):::user (and the Auth/lock node that uses "🔒"—e.g. AUTH(["🔒
Auth"]):::auth—to AUTH(["Auth"]):::auth); update any other diagram node labels
containing emojis to their plain-text equivalents so README.md follows the "No
emoji in technical prose" rule.
- Line 70: Update the diagram node text that currently reads OSCLI["openshell
CLI<br/><small>provider · sandbox<br/>gateway · policy</small>"]:::openshell to
use the correct product casing: change "openshell CLI" to "OpenShell CLI" while
keeping the rest of the label (the HTML line breaks and small text) unchanged so
the node still reads OSCLI["OpenShell CLI<br/><small>provider ·
sandbox<br/>gateway · policy</small>"]:::openshell.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| classDef external fill:#f5f5f5,stroke:#e0e0e0,color:#1a1a1a,stroke-width:1px | ||
| classDef user fill:#fff,stroke:#76b900,color:#1a1a1a,stroke-width:2px,font-weight:bold | ||
|
|
||
| USER(["👤 User"]):::user |
There was a problem hiding this comment.
Remove emoji from diagram labels in technical prose.
Line 49 (👤) and Line 72 (🔒) violate the Markdown prose rule; please replace with plain text labels.
As per coding guidelines, "**/*.md ... No emoji in technical prose."
Also applies to: 72-72
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@README.md` at line 49, Replace the emoji labels in the Mermaid diagram nodes
with plain text: change the USER node label USER(["👤 User"]):::user to
USER(["User"]):::user (and the Auth/lock node that uses "🔒"—e.g. AUTH(["🔒
Auth"]):::auth—to AUTH(["Auth"]):::auth); update any other diagram node labels
containing emojis to their plain-text equivalents so README.md follows the "No
emoji in technical prose" rule.
| subgraph OPENSHELL["OpenShell"] | ||
| direction TB | ||
| GW["Gateway<br/><small>Credential store<br/>Inference proxy<br/>Policy engine<br/>Device auth</small>"]:::openshell | ||
| OSCLI["openshell CLI<br/><small>provider · sandbox<br/>gateway · policy</small>"]:::openshell |
There was a problem hiding this comment.
Fix product casing in diagram node text.
Line 70 uses openshell CLI; this should be OpenShell CLI to match required product casing.
As per coding guidelines, "**/*.md ... NemoClaw, OpenClaw, and OpenShell must use correct casing."
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@README.md` at line 70, Update the diagram node text that currently reads
OSCLI["openshell CLI<br/><small>provider · sandbox<br/>gateway ·
policy</small>"]:::openshell to use the correct product casing: change
"openshell CLI" to "OpenShell CLI" while keeping the rest of the label (the HTML
line breaks and small text) unchanged so the node still reads OSCLI["OpenShell
CLI<br/><small>provider · sandbox<br/>gateway · policy</small>"]:::openshell.
Summary
Adds an Architecture section to the README with:
What the diagram shows
Key message
Screenshots
The mermaid diagram renders natively on GitHub. Preview in the Files Changed tab.
Summary by CodeRabbit